package com.cloud.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cloud.core.BaseService;
import com.cloud.dao.RatingBean;
import com.cloud.dao.impl.RatingDao;

/**
 * 1Cloud1
 * @author Administrator
 * @since 2015-12-4
 * @version 1.0 
 */
@Service("RatingService")
public class RatingService extends BaseService{
	
	@Autowired
	private RatingDao RatingDao;
	
	public List<RatingBean> getRatingList(RatingBean bean){
		return RatingDao.getRatingList(bean);
	}
	
	public void addRating(RatingBean bean){
		RatingDao.addRating(bean);
	}
	
	public void updateRating(RatingBean bean){
		RatingDao.updateRating(bean);
	}
	
	public void deleteRating(RatingBean bean){
		RatingDao.deleteRating(bean);
	}

}
